package com.example.elemui_demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName DemoController
 * @Description
 * @Author zhangsw
 * @Date 2021/1/11 15:51
 * @Version 1.0
 */
@Controller
@RequestMapping("demo")
public class DemoController {

    @GetMapping("demo1")
    public String toDemo1() {
        return "demo1";
    }

    @GetMapping("demo2")
    public String toDemo2() {
        return "demo2";
    }

    @GetMapping("demo3")
    public String toDemo3() {
        return "demo3";
    }

    @GetMapping("demo4")
    public String toDemo4() {
        return "demo4";
    }

    @GetMapping("demo5")
    public String toDemo5() {
        return "demo5";
    }

    @GetMapping("demo6")
    public String toDemo6() {
        return "demo6";
    }

    @GetMapping("demo7")
    public String toDemo7() {
        return "demo7";
    }

    @GetMapping("demo8")
    public String toDemo8() {
        return "demo8";
    }

    @GetMapping("demo9")
    public String toDemo9() {
        return "demo9";
    }

    @GetMapping("demo10")
    public String toDemo10() {
        return "demo10";
    }
}
